package com.authsphere.security.account.api.bind;


import com.authsphere.security.account.api.bind.user.ExternalUser;

/**
 * @program: AuthSphere
 * @description:
 * @author: YuKai Fan
 * @create: 2025/3/21 22:11
 **/
public interface BindingExecutor {

    /**
     * 绑定第三方账号
     * @param externalUser ExternalUser
     * @param principal principal
     * @return result
     */
    boolean execute(ExternalUser externalUser, Object principal);
}
